package com.ziyue.socket.bean.log;


import com.ziyue.socket.enums.OptionEnum;

import java.util.Date;

/**
 * Created by wancheng on 2019/4/18.
 */
public class ActionLog {

    private String account;
    /**
     * 互动id
     */
    private String activityId;
    /**
     * 行为发生时间
     */
    private Date actionTime;
    /**
     * 行为
     */
    private OptionEnum action;

    public ActionLog() {
    }

    public ActionLog(String activityId, Date actionTime, OptionEnum action) {
        this.activityId = activityId;
        this.actionTime = actionTime;
        this.action = action;
    }

    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    public Date getActionTime() {
        return actionTime;
    }

    public void setActionTime(Date actionTime) {
        this.actionTime = actionTime;
    }

    public OptionEnum getAction() {
        return action;
    }

    public void setAction(OptionEnum action) {
        this.action = action;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }
}
